using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using DTN.Core.Utilities;
using System.Data.SqlClient;
namespace com.dtn.deals
{
	public class tbl_Member
	{
		private System.Int32 _ID;
		public System.Int32 ID
		{
			get { return this._ID; }		
			set { this._ID = value; }
		}
		private System.String _fullName;
		public System.String fullName
		{
			get { return this._fullName; }		
			set { this._fullName = value; }
		}
		private System.String _BOD;
		public System.String BOD
		{
			get { return this._BOD; }		
			set { this._BOD = value; }
		}
		private System.String _Email;
		public System.String Email
		{
			get { return this._Email; }		
			set { this._Email = value; }
		}
		private System.String _address;
		public System.String address
		{
			get { return this._address; }		
			set { this._address = value; }
		}
		private System.String _phone;
		public System.String phone
		{
			get { return this._phone; }		
			set { this._phone = value; }
		}
		private System.String _userName;
		public System.String userName
		{
			get { return this._userName; }		
			set { this._userName = value; }
		}
		private System.String _pass;
		public System.String pass
		{
			get { return this._pass; }		
			set { this._pass = value; }
		}
		private System.Int32 _isDel;
		public System.Int32 isDel
		{
			get { return this._isDel; }		
			set { this._isDel = value; }
		}
		private System.DateTime _cDate;
		public System.DateTime cDate
		{
			get { return this._cDate; }		
			set { this._cDate = value; }
		}
        public tbl_Member()
		{
		}
        public tbl_Member(DataRow info)
		{
			_ID = ConvertUtility.ToInt32(info["ID"]);
			_fullName = ConvertUtility.ToString(info["fullName"]);
			_BOD = ConvertUtility.ToString(info["BOD"]);
			_Email = ConvertUtility.ToString(info["Email"]);
			_address = ConvertUtility.ToString(info["address"]);
			_phone = ConvertUtility.ToString(info["phone"]);
			_userName = ConvertUtility.ToString(info["userName"]);
			_pass = ConvertUtility.ToString(info["pass"]);
			_isDel = ConvertUtility.ToInt32(info["isDel"]);
			_cDate = ConvertUtility.ToDateTime(info["cDate"]);
		}
        public tbl_Member(DataRowView info)
        {
            _ID = ConvertUtility.ToInt32(info["ID"]);
            _fullName = ConvertUtility.ToString(info["fullName"]);
            _BOD = ConvertUtility.ToString(info["BOD"]);
            _Email = ConvertUtility.ToString(info["Email"]);
            _address = ConvertUtility.ToString(info["address"]);
            _phone = ConvertUtility.ToString(info["phone"]);
            _userName = ConvertUtility.ToString(info["userName"]);
            _pass = ConvertUtility.ToString(info["pass"]);
            _isDel = ConvertUtility.ToInt32(info["isDel"]);
            _cDate = ConvertUtility.ToDateTime(info["cDate"]);
        }
        public tbl_Member(SqlDataReader info)
        {
            _ID = ConvertUtility.ToInt32(info["ID"]);
            _fullName = ConvertUtility.ToString(info["fullName"]);
            _BOD = ConvertUtility.ToString(info["BOD"]);
            _Email = ConvertUtility.ToString(info["Email"]);
            _address = ConvertUtility.ToString(info["address"]);
            _phone = ConvertUtility.ToString(info["phone"]);
            _userName = ConvertUtility.ToString(info["userName"]);
            _pass = ConvertUtility.ToString(info["pass"]);
            _isDel = ConvertUtility.ToInt32(info["isDel"]);
            _cDate = ConvertUtility.ToDateTime(info["cDate"]);
        }
	}
}
